<!DOCTYPE html>
<html>
<head>
    <title>行内块元素</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box1{
            width: 0;
            height: 0;
            border-top: 100px solid transparent;
            border-right: 50px solid red;
            border-left: 0;
            border-bottom: 0;
        }

        .box2{
            width: 500px;
            height: 100px;
            margin: 100px auto;
            overflow: hidden;
            border: 2px solid red;
        }

        .box2 .left{
            position: relative;
            float: left;
            height: 100px;
            width: 300px;
            background-color: red;
            color: #fff;
            font-size: 20px;
        }
        .box2 .left .trangle{
            position: absolute;
            width: 0;
            height: 0;
            right: 0;
            border-top: 100px solid transparent;
            border-right: 50px solid #fff;
            border-left: 0;
            border-bottom: 0;
        }
        .box2 .left span{
            position: absolute;
            left: 0;
            font-size: 60px;
            line-height: 100px;
        }
        .right{
            float: left;
            color: #ccc;
            font-size: 48px;
            line-height: 100px;
            text-decoration: line-through;
        }
    </style>
</head>
<body>
    <div class="box1"></div>

    <div class="box2">
        <div class="left">
            <span>￥1659</span>
            <div class="trangle"></div>
        </div>
        <div class="right">￥1899</div>
    </div>
</html>